feat(setup): add provider defaults and lane status - #753
Conversation
roborev: Combined Review (
|
roborev: Combined Review (
|
|
looking |
Configure unset retrieval and people lanes from available providers with explicit consent and recommended defaults. Report which lanes are active and the steps needed to finish setup. - feat(setup): keep provider onboarding output consistent with the pass - fix(setup): keep the local fallback local and disclose every source Refs kenn-io#634 Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com> Generated with Codex
A failed people-provider check, consent, or selection left other lanes configured, so a retry treated the incomplete setup as finished. Restore all setup config edits on failure, including a newly created file, using the published file identity to preserve concurrent edits. Recompute dependent lanes after a provider is declined. Declining Mistral must also disable document vectors and remove document_text from the people-sweep profile and its subsequent disclosure. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
b67fa33 to
92f2710
Compare
roborev: Combined Review (
|
Keep the people sweep pending until --allow-sensitive explicitly permits sensitive archive excerpts and personal inferences. Describe that policy in both human and JSON plans; --yes alone must not authorize it. Leave vector lanes pending when the binary lacks the database backend, and report missing credential environment variables for hosted lanes so the setup report does not imply that unusable providers are ready. Fix the new documentation links to use the /docs/ URL prefix required by the published site and its link checker. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
Document search sends both archive text and query text to an embedding provider. Report their separate consent records so users can see which permission is still missing and how to grant it. Enabling a lane must not replace saved retention or training assertions with command defaults. Preserve each assertion unless its own flag is explicitly supplied. Recognize providers by exact URL hosts, not substrings. Leave dependent lanes on custom hosted endpoints for explicit configuration instead of extending the data sent under another provider's disclosure. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
Missing embedding credentials make text search unavailable to its people and document consumers too. Report those lanes as pending instead of on. Preserve explicit empty cron and false after-sync settings when applying text and visual defaults so setup does not undo scheduling opt-outs. A running daemon may lack the caller's provider key during onboarding. Forward only that key for a check pinned to the saved profile fingerprint, and preserve the caller context on the generated command. Keep ordinary checks on daemon-owned credentials and reject keys for other profiles. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
Enabled configuration does not make a consent-gated lane ready. Report missing or unreadable consent as pending, and keep document vectors pending until both document and query consent are active. Local Ollama selection uses an unauthenticated endpoint. Clear the old embedding credential reference so an unused hosted key cannot leave the new local lane pending. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
Configured vector lanes cannot run when the binary lacks their database backend. Use the same compiled-backend check for setup and status, and carry the pending state to dependent lanes with rebuild guidance. Consent records authorize document-vector work but do not create an index. Include the build command after both consent steps so the setup follow-ups finish the indexing work. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
A consented visual generation may belong to an old configuration or capability manifest. Compare both fingerprints before reporting active consent, using the same upload policy calculation as the runtime. The document commands reject unknown postures, so retaining those values leaves setup unable to finish. Treat unknown as unset and let the Mistral confirmation complete those assertions even on an enabled document lane. Preserve known assertions unless their corresponding flags replace them. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
An existing manifest does not make visual search usable. Apply the runtime policy checks before enabling the lane, including text-query authority, and report invalid manifests as pending. Keep an explicit manifest path even when it is missing so probe guidance respects the operator's choice. Document consent from an older provider configuration must not make the current lane appear ready. Match the configured provider, endpoint, region, model, and postures against active consented profiles without requiring the original probe file to remain at setup's default location. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
The custom-manifest fixture writes forward slashes into TOML on every platform. Setup preserves that spelling, but the test expected native Windows separators and failed the Windows CLI shard. Match the fixture's path spelling while retaining the checks that setup preserves the custom path and uses it in probe guidance. Generated with Codex Co-authored-by: Codex <noreply@openai.com>
roborev: Combined Review (
|
Add
msgvault setup providersandmsgvault setup statusso operators can configure optional retrieval and people lanes without assembling each table by hand.Provider setup chooses defaults from available Voyage, Mistral, and OpenAI keys, with a local Ollama fallback. It shows provider disclosures before writing configuration and keeps existing models, explicit schedules, and known postures unless the corresponding posture flag overrides them. Sensitive people-sweep content requires a separate
--allow-sensitiveopt-in.Visual setup requires a validated capability manifest and respects custom manifest paths. Status highlights missing credentials, backend support, and consent with follow-up commands. People-provider onboarding failure restores the setup configuration edits.
Status reports provider, model, schedule, consent, and next steps for each lane. Documentation covers both commands and the recommended configuration. Provider uploads and index builds remain separate, consent-gated operations.
Refs #634. Refs #589 #599 #611 #616 #620 #628.